DicomObjects.NET.V8
DicomObjects Namespace / DicomDataSet Class / Write Method / Write(Byte[],String) Method

The byte array to write dataset to

Specifies the full UID of the transfer syntax with which the file is to be saved when Part 10 format is used. If omitted, the little-endian explicit VR transfer syntax is used. For details of the currently supported syntaxes, see the entry.




In This Topic
    Write(Byte[],String) Method
    In This Topic
    Writes dataset to a byte array with specified transfer syntax
    Syntax
    'Declaration
     
    Public Overloads Sub Write( _
       ByRef Array() As Byte, _
       ByVal TransferSyntax As String _
    ) 
    'Usage
     
    Dim instance As DicomDataSet
    Dim Array() As Byte
    Dim TransferSyntax As String
     
    instance.Write(Array, TransferSyntax)
    public void Write( 
       out byte[] Array,
       string TransferSyntax
    )
    public:
    void Write( 
       [Out] array<byte>^ Array,
       String^ TransferSyntax
    ) 

    Parameters

    Array

    The byte array to write dataset to

    TransferSyntax

    Specifies the full UID of the transfer syntax with which the file is to be saved when Part 10 format is used. If omitted, the little-endian explicit VR transfer syntax is used. For details of the currently supported syntaxes, see the entry.

    Remarks

    Data may subsequently be read by the Read method or by other DICOM software.

    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also